<?php /* Smarty version Smarty-3.1.13, created on 2014-10-27 22:55:49
         compiled from "D:\workspace\php\cms\templates\admin\role.tpl" */ ?>
<?php /*%%SmartyHeaderCode:24728544e5cf580f204-50109035%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    '2d4c444ff9609d8db2133af0ce9eb593ebb574b2' => 
    array (
      0 => 'D:\\workspace\\php\\cms\\templates\\admin\\role.tpl',
      1 => 1414419523,
      2 => 'file',
    ),
  ),
  'nocache_hash' => '24728544e5cf580f204-50109035',
  'function' => 
  array (
  ),
  'has_nocache_code' => false,
  'version' => 'Smarty-3.1.13',
  'unifunc' => 'content_544e5cf5870ca1_86137105',
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_544e5cf5870ca1_86137105')) {function content_544e5cf5870ca1_86137105($_smarty_tpl) {?><?php echo $_smarty_tpl->getSubTemplate ("admin/header.tpl", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0);?>

<?php echo $_smarty_tpl->getSubTemplate ("admin/navibar.tpl", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0);?>

<?php echo $_smarty_tpl->getSubTemplate ("admin/sidebar.tpl", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0);?>



<script src="<?php echo @constant('WEBSITE_URL');?>
/public/assets/js/admin/role.js"></script>

<style type="text/css">
div#rMenu {position:absolute; visibility:hidden; top:0; background-color: #555;text-align: left;padding: 2px;}
div#rMenu ul li{
	margin: 1px 0;
	padding: 0 5px;
	cursor: pointer;
	list-style: none outside none;
	background-color: #DFDFDF;
}
</style>
	
<div class="content">

	<!-- 表格头部开始 -->
	<div class="header">
		<div class="stats"><p class="stat"></p>
		</div>
		<h1 class="page-title">角色管理</h1>
	</div>
	<!-- 表格头部结束 -->
	
	
	<div class="container-fluid">
		<div class="row-fluid">
			
			<div id="content" class="span10 bgcolor_whilt">
				<div class="box-content">
					<table id="grid"></table>
					<div id="gridPager"></div>
				</div>
			</div>
			
		</div> 
 	</div>
 	
 	
 	
 	
 	<div id="role_add" class="modal hide fade">
        <div class="modal-header">
        	<button type="button" class="close" data-dismiss="modal"
						aria-hidden="true">&times;</button>
            <h3 id="role_op"></h3>
        </div>
		<div class="modal-body">
           	
           	<input type="hidden" id="role_id" name="roleId" />
           	
        	<div class="control-group">
		 		<label class="control-label" for="roleName">角色名称</label>
				<div class="controls">
					<input type="text" id="role_name" name="roleName" placeholder="角色名称">
				</div>
			</div>
           	
           	<div class="control-group">
		 		<label class="control-label" for="roleDesc">描述</label>
				<div class="controls">
					<input type="textarea" id="role_desc" name="roleDesc" placeholder="描述">
				</div>
			</div>
			
			<div class="control-group">
		 		<label class="control-label" for="roleDesc">权限</label>
				<div class="controls">
					<ul id="tree_add" class="ztree" style="width:260px;height:100px; overflow:auto;"></ul>
				</div>
			</div>
			
			
        </div>
        <div class="modal-footer">
            <a href="javascript:void(0);" id="add_save" class="btn" data-dismiss="modal" aria-hidden="true">保存</a>
            <a href="javascript:void(0);" id="add_cancel" class="btn btn-primary">取消</a>
        </div>
    </div>
 	
 	
 	
 	
 	<div id="remove" class="modal hide fade" role="dialog">
        <div class="modal-header">
            <h3>提示:</h3>
        </div>
        <div class="modal-body">
            <p>确定删除！
            </p>
        </div>
        <div class="modal-footer">
            <a href="javascript:void(0);" id="del_ok" class="btn" data-dismiss="modal" aria-hidden="true">确定</a>
            <a href="javascript:void(0);" id="del_cancel" class="btn btn-primary">取消</a>
        </div>
    </div>
 	
 	

</div>

<?php echo $_smarty_tpl->getSubTemplate ("admin/footer.tpl", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0);?>
<?php }} ?>